/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.softwareprincipals.single_responsibility_principal.obey.model;

/**
 *
 * @author Matthew
 */
public class PremiumSubscriber extends Subscriber{
    private boolean accountValid;
    private int accountBalance;

    public int getAccountBalance() {
        return accountBalance;
    }

    public void setAccountBalance(int accountBalance) {
        this.accountBalance = accountBalance;
    }

    public boolean isAccountValid() {
        return accountValid;
    }

    public void setAccountValid(boolean accountValid) {
        this.accountValid = accountValid;
    }

    public int getFullFee() {
        return fullFee;
    }

    public void setFullFee(int fullFee) {
        this.fullFee = fullFee;
    }
     public String checkAccount(){
        if(getFullFee()>400){
            setAccountValid(true);
            return "valid subscription";
        }
        else{
            setAccountValid(false);
            return "not valid subscription";
        }
    }
}
